
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Models.Entity
{
    /// <summary>
    /// 班级
    /// </summary>
    [Table("c_classes")]
    public class CClassesEntity : BaseModel
    {

        /// <summary>
        /// classes_id
        /// </summary>
        [Key]
        [Required]
        [Column("classes_id")]
        public int classes_id { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        [Required]
        [StringLength(20)]
        [Column("name")]
        public string name { get; set; }


        /// <summary>
        /// 
        /// </summary>
        /// <value></value>
        public Dictionary<string, CClassesWeekCourseEntityView> courseDic { get; set; }


    }
}
